package com.dong.bean;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * <h1></h1>
 *
 * @author : dzj
 * @create: 2020-04-29 09:57
 */
@Setter
@Getter
@Component
@Slf4j
public class Dog {
    private Cat cat;
@Autowired
    public Dog(Cat cat) {
        log.info("Dog is construct ...");
        this.cat = cat;
    }
}
